Package com.cisco.pt.ipc.sim.impl
Class LinkImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.LinkImpl
- Direct Known Subclasses:
AntennaImpl,CableImpl
Information provided by the PKI file:
\class Link
\brief Link is the class that handles the connection link.
\example network().getDevice("Router0").getPort("FastEthernet0/0").getLink()
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionLinkImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
LinkImpl
public LinkImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getConnectionType
Information provided by the PKI file:
\brief Returns the connection type. \return CONNECT_TYPES, the connection type. Connection types: FIRST_TYPE = 8100, ETHERNET_STRAIGHT = FIRST_TYPE, ETHERNET_CROSS, ETHERNET_ROLL, FIBER, PHONE, CABLE, SERIAL, AUTO, CONSOLE, WIRELESS, COAXIAL, OCTAL, CELLULAR, USB, CUSTOM_IO, BLUETOOTH_PAIRED, BLUETOOTH_BROADCAST, LAST_TYPE = BLUETOOTH_BROADCAST- Specified by:
getConnectionTypein interfaceLink- Returns:
- ConnectType Returns a ConnectType
-